label: Update layout width directly form allocation
authorTimm Bäder <mail@baedert.org>
Wed, 17 Jan 2018 11:36:37 +0000 (12:36 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 17 Jan 2018 20:57:19 +0000 (21:57 +0100)
commit12be5ccbb72b41edb990d7487406f19cfa731434
treed49bc95d681dd2d40e299067adc36c9dc9cf1e75
parent8ad1b09a3a1f1609497a5ae133ff3e5313d35495
label: Update layout width directly form allocation

For the one update_layout_width call in size_allocate, we can just use
the passed-in allocation width instead of a separate (relatively slow)
gtk_widget_get_width call.
gtk/gtklabel.c